package org.voyager.service.admin.scenic.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.voyager.common.beans.JsonResult;
import org.voyager.service.admin.scenic.service.LbsService;
import org.voyager.service.admin.scenic.vo.GeoConvertVo;

@RestController
@RequestMapping("/lbs")
public class LbsController {

    @Autowired
    LbsService lbsService;

    @PostMapping("/geoConvert")
    public JsonResult geoConvert(@RequestBody GeoConvertVo geoConvertVo) {
        return lbsService.geoConvert(geoConvertVo);
    }

}
